<?php

namespace App\Http\ControllersAdmin;

class ErrorController extends BaseController
{
	//请求未找到.
    public function indexAction()
    {
		return $this->echoJson('Request Not Found',404);
    }
	
	//非POST请求.
	public function notPostAction(){
		
		return $this->echoJson('Request Not Post',401);
	}
	
	//请求数据json格式不正确.
	public function notJsonAction(){
		
		return $this->echoJson('Not Json Data',401);
	}
	
	
}
